package cn.rxyb.desgin.mediator;

/**
 * @author YJH
 * @version 1.0
 * @description
 * @date 2020/7/3 15:43
 */
public class ConcreteColleague2 extends AbstractColleague {
    @Override
    public void receive() {
        System.out.println("同时类收到的信息2");
    }

    @Override
    public void send() {
        System.out.println("具体同事类发送的信息2");
        getAbstractMediator().relay(this); // 请求中介者转发出去
    }
}
